#include <iostream>

using namespace std;

int main () {
    int n;
    int i;

    cin >> n;

    for (i = 1; i < n + 1; i += 2) {
        cout << i << endl;
    }

    for (i = 2; i < n + 1; i += 2) {
        cout << i << endl;
    }

    return 0;
}